package oop.day07.money;


import oop.day03.SmallStudent;

import java.util.Date;
import java.util.Scanner;

public class TestChange {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        System.out.println("请选择功能：1 创建用户；2存入余额；3消费，4退出");
        int inNum = sc.nextInt();
        SamllChange s1=null;
        switch (inNum) {
            case 1:
                s1= new SamllChange();
                break;
            case 2:
                s1.save(300);
                break;
            case 3:
                s1.expenses(20);
                break;

        }



    }

}
